<?php

class Controller_Test_Mail
{
    public function execute($request)
    {
        $email = 'nam.ngvan@hotmail.com';
        $name = 'nam nguyen';
        $mailer = Mailer::inst() -> addReceipient($email, $name) -> setSubject('test email at ' . time()) -> setMessage('mail/test.tpl', array('var' => time())) -> send();
    }
}
